<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8"/>
	<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
	<title>Hi-Sass-Frame</title>
</head>

<body>
<div id="app"></div>
<script>
	localStorage.setItem("_LOCAL_THEME_", 'default')
	const _LOCAL_THEME_ = localStorage.getItem("_LOCAL_THEME_");	//notheme,default,……
	let jsFile;
	switch (_LOCAL_THEME_) {
		case "notheme":
			jsFile = "./main-notheme.ts";
			break;
		case "_single":
			jsFile = "./main-single-theme.ts";
			break;
			case "geeker":
			jsFile = "./main-geeker.ts";
			break;
		case "element":
		default:
			jsFile = "./main-multi-themes.ts";
			break;
	}

	function importModule() {
		let script = document.createElement('script');
		script.type = 'module';
		script.src = jsFile; // 模块文件路径
		document.body.appendChild(script);
	}

	importModule();
</script>
</body>

</html>
